package com.wl.computerservice2;

import org.springframework.boot.actuate.health.Health;
import org.springframework.boot.actuate.health.HealthIndicator;
import org.springframework.stereotype.Component;

/**
 * @author wangl
 * @desc
 * @date:2017/6/2310:53
 * @Copyright (c) 2017, DaChen All Rights Reserved.
 */
@Component
public class RedisHealthIndicator implements HealthIndicator{

    @Override
    public Health health() {
        return Health.up().build();
    }
}
